package com.hotelManagerSystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @author longyajr
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class RoleDepartment {

  private static final long serialVersionUID=1L;
  /**
   * 角色部门ID
   */
  @TableId(value = "role_department_id", type = IdType.AUTO)
  private long roleDepartmentId;
  /**
   * 角色ID
   */
  private long roleId;
  /**
   * 部门ID
   */
  private long departmentId;

  public long getRoleDepartmentId() {
    return roleDepartmentId;
  }

  public void setRoleDepartmentId(long roleDepartmentId) {
    this.roleDepartmentId = roleDepartmentId;
  }

  public long getRoleId() {
    return roleId;
  }

  public void setRoleId(long roleId) {
    this.roleId = roleId;
  }

  public long getDepartmentId() {
    return departmentId;
  }

  public void setDepartmentId(long departmentId) {
    this.departmentId = departmentId;
  }
}
